import {BaseEntity,Column,Entity,Index,JoinColumn,JoinTable,ManyToMany,ManyToOne,OneToMany,OneToOne,PrimaryColumn,PrimaryGeneratedColumn,RelationId} from "typeorm";


@Entity("mall_help_type",{schema:"nest-mall" } )
export class MallHelpType {

    @PrimaryGeneratedColumn({
        type:"int", 
        name:"id"
        })
    id:number;
        

    @Column("varchar",{ 
        nullable:true,
        length:50,
        name:"type_name"
        })
    typeName:string | null;
        

    @Column("int",{ 
        nullable:true,
        name:"sort"
        })
    sort:number | null;
        
}
